VNIF: Using smart polling instead of event notification.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 1 Oct 2009 11:27:01 +0000 (12:27 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 1 Oct 2009 11:27:01 +0000 (12:27 +0100)
Patch the Xen version of ring.h

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
xen/include/public/io/ring.h

index 6ce1d0d485fc884824be4951fcc23be9d6d8dafe..3c56bc2d62e634d73a9b5bdf9afee83a18e5134d 100644 (file)
@@ -97,7 +97,8 @@ union __name##_sring_entry {                                            \
 struct __name##_sring {                                                 \
     RING_IDX req_prod, req_event;                                       \
     RING_IDX rsp_prod, rsp_event;                                       \
-    uint8_t  pad[48];                                                   \
+    uint8_t  netfront_smartpoll_active;                                 \
+    uint8_t  pad[47];                                                   \
     union __name##_sring_entry ring[1]; /* variable-length */           \
 };                                                                      \
                                                                         \